package com.wangxiaonan.berry.repository;

import com.alibaba.fastjson.JSONObject;
import com.wangxiaonan.berry.config.FeignRepository;
import feign.Headers;
import feign.QueryMap;
import feign.RequestLine;
import java.util.Map;

/**
 * @Author: wangxiaonan
 * @Date: 2019/7/3
 **/
@FeignRepository(uriPropertyName = "tong-dun-uri")
public interface TongDunRepository {

    @RequestLine("POST /riskService")
    @Headers("Content-Type:application/x-www-form-urlencoded,charset=UTF-8")
    JSONObject riskService(@QueryMap Map<String, String> queryMap);

}
